<template>
  <div>
    <h1>Right组件</h1>
    <p>{{age}}</p>
    <button @click="age++"> 🍔 </button>
  </div>
</template>

<script>
export default {
    data () {
       return {
        age: 0
       }
    }
}
</script>

<style lang="less" scoped>
div {
    height: 300px;
    background-color: #fe7299;
    width: 600px;
    text-align: center;
    line-height: 70px;
}
p{
    font-size: 20px;
}
button {
    width: 70px;
    height: 50px;
    font-size: 30px;
}
</style>